From: Florian Müllner Date: Thu, 5 Sep 2013 23:55:22 +0000 (+0200) Subject: messageTray: Reset clickedSummaryItem on ungrab X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~3498 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=aa6471b3cc9b81b2d0b0b817a466d03bf82c5bfe;p=gnome-shell.git messageTray: Reset clickedSummaryItem on ungrab If we don't, we will pop up the summary again the next time _updateState() is called. https://bugzilla.gnome.org/show_bug.cgi?id=707600 --- diff --git a/js/ui/messageTray.js b/js/ui/messageTray.js index c87a2983c..69a822dea 100644 --- a/js/ui/messageTray.js +++ b/js/ui/messageTray.js @@ -2732,6 +2732,7 @@ const MessageTray = new Lang.Class({ _onSummaryBoxPointerUngrabbed: function() { this._summaryBoxPointerState = State.HIDING; + this._setClickedSummaryItem(null); if (this._summaryBoxPointerContentUpdatedId) { this._summaryBoxPointerItem.disconnect(this._summaryBoxPointerContentUpdatedId);